{% extends "base.html" %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<div id="pnlCharacter">
    <h3><span>{{ itemname }}</span></h3>
    
    <p class="p1"><span>{{ iteminformation|safe }}</span></p>

    <p class="p1"><span><a href="javascript:back()" title="Go Back">&lt;&lt;&lt; go back</a></span></p>
                    
    <h3><span>part and episode listing</span></h3>
    {% for part in episodes_used %}
        <p class="p1"><span><a href="/parts/{{ part.part.name }}/" title="{{ part.part.name }}">{{ part.part.name }}</a>: 
        {% for episode in part.episodes %}
            [<a href="/episodes/{{ part.part.name }}/synopsis/episode_{{ episode.episode }}/" title="Synopsis of {{ part.part.name }} Episode {{ episode.episode }}">{{ episode.episode }}</a>]
        {% endfor %}
        </span></p>
    {% endfor %}
                    
    <p class="p1"><span><a href="javascript:back()" title="Go Back">&lt;&lt;&lt; go back</a></span></p>
                    
    <h3><span>page numbers</span></h3><p class="p1"><span>{% for itemepisode in iteminfo %}{% for pages in itemepisode.pages %}{{ pages|join:',' }}{% endfor %}{% if not forloop.last %},{% endif %}{% endfor %}</span></p>

    <p class="p1"><span><a href="javascript:back()" title="Go Back">&lt;&lt;&lt; go back</a></span></p>
                    
    <h3><span>references</span></h3>                    
    
    <span id="references">{{ references|safe }}</span>
    <p class="p1"><span><a href="javascript:back()" title="Go Back">&lt;&lt;&lt; go back</a></span></p>
</div>
{% endblock %}